import { consts } from "@/module-00-codebase/pkg-00-const";
import { isWeb } from "@/module-00-codebase/pkg-02-tool";

export class WebCleaner {}
export const initializing = async () => {
  if (isWeb()) {
    // const html = document.getElementsByTagName("html")[0];
    // const body = document.getElementsByTagName("body")[0];
    // const root = document.getElementById("root");
    // let title = document.getElementsByTagName("title")[0];
    // if (html && body && root) {
    //   [html, body, root].forEach(dom => {
    //     dom.style.margin = dom.style.padding = "0";
    //     dom.style.width = dom.style.height = "100%";
    //     dom.style.backgroundColor = csses.backgroundColor;
    //     dom.style.position = "relative";
    //   });
    //   title.innerHTML = consts.title;
    //   html.style.overflow = "hidden";
    // }
  }
};
export const order = () => consts.firstOrder;
